package entity;

import java.io.Serializable;
import java.util.Date;

public class Reply implements Serializable {
    private Integer hid;
    private String hcontext;
    private String hpic;
    private Date htime;
    private Users uid;
    private Topic fid;
    private Integer hdel;

    public Reply() {
    }

    public Reply(String hcontext, String hpic, Users uid, Topic fid) {
        this.hcontext = hcontext;
        this.hpic = hpic;
        this.uid = uid;
        this.fid = fid;
    }

    public Reply(Integer hid, String hcontext, String hpic, Date htime, Users uid, Topic fid, Integer hdel) {
        this.hid = hid;
        this.hcontext = hcontext;
        this.hpic = hpic;
        this.htime = htime;
        this.uid = uid;
        this.fid = fid;
        this.hdel = hdel;
    }

    public Integer getHid() {
        return hid;
    }

    public void setHid(Integer hid) {
        this.hid = hid;
    }

    public String getHcontext() {
        return hcontext;
    }

    public void setHcontext(String hcontext) {
        this.hcontext = hcontext;
    }

    public String getHpic() {
        return hpic;
    }

    public void setHpic(String hpic) {
        this.hpic = hpic;
    }

    public Date getHtime() {
        return htime;
    }

    public void setHtime(Date htime) {
        this.htime = htime;
    }

    public Users getUid() {
        return uid;
    }

    public void setUid(Users uid) {
        this.uid = uid;
    }

    public Topic getFid() {
        return fid;
    }

    public void setFid(Topic fid)                                                                         {
        this.fid = fid;
    }

    public Integer getHdel() {
        return hdel;
    }

    public void setHdel(Integer hdel) {
        this.hdel = hdel;
    }
}
